package com.pkk;

import com.pkk.cloud.support.gateway.limiter.global.EnableGlobalLimit;
import com.pkk.cloud.support.gateway.limiter.limit.EnableRateLimit;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @description: zuul网关启动类
 * @author: peikunkun
 * @create: 2020-03-17 16:12
 **/
//@EnableApolloConfig
@EnableRateLimit
@EnableGlobalLimit
@EnableZuulProxy
@SpringCloudApplication
public class CloudSupportGatewayApplication {

  public static void main(String[] args) {
    SpringApplication.run(CloudSupportGatewayApplication.class, args);
  }
}
